import _fetch from "./resquer.js"
function getphonecode(data){
    return _fetch({
        url:"/sendsms",
        method:'post',
        data:data
    })
}
function toregister(data){
    return _fetch({
        url:'/register',
        method:'post',
        data
    })
}
export {getphonecode,toregister}